package com.projet.activities.listeners;

import android.app.Activity;
import android.content.DialogInterface;
import android.content.DialogInterface.OnClickListener;

public class ListenerDialogBack implements OnClickListener {

	private Activity act;
	public ListenerDialogBack(Activity a) {
		act=a;
	}

	@Override
	public void onClick(DialogInterface dialog, int which) {
		act.finish();
	}

}
